import {inject} from "vue";

export const isReturnTrue=function (response){
    return response==='200'
}
export const reload=function (){
    if (location.href.indexOf("#reloaded") == -1) {
        const i = location.href;
        location.href = location.href + "#reloaded";
        location.reload();
}
//     inject('reload')
}